package com.fbli.mapper;

import com.fbli.pojo.Doctor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DoctorMapper {
    /**
     * 查询医生信息
     * @return
     */
    List<Doctor> selectAll();

    /**
     * 根据医生所属科室查询医生信息
     * @param department
     * @return
     */
    List<Doctor> selectByDepartment(@Param("department") String department);

    /**
     * 根据医生类别查询医生信息
     * @param doctorCategory
     * @return
     */
    List<Doctor> selectByDoctorCategory(@Param("doctorCategory") String doctorCategory);

}
